<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<HTML>
<HEAD><TITLE>Success</TITLE></HEAD>
<BODY BGCOLOR="#FDF5E6">
<CENTER>
<logic:notEmpty name="newUser" scope="request">
<H1>You have registered successfully.</H1>
Congratulations.
</logic:notEmpty>

<ul>
<li>Email address:
<bean:write name="RegistrationForm" property="email" />
</li>
<li>Password:
<bean:write name="RegistrationForm" property="password" />
</li>
</ul>
</CENTER>

<table>
<logic:iterate name="userList" id="user" indexId="cont">
<tr>
	<td><bean:write name="cont"/></td>
	<td><a href="javascript:alert('id=<bean:write name="user" property="id"/>')"><bean:write name="user" property="email"/></a></td>
	<td><bean:write name="user" property="password"/></td>
</tr>
</logic:iterate>
</table>
</BODY></HTML>